# frv testcase for movsg $FRk,$GRj
# mach: all

	.include "testutils.inc"

	start

	.global movsg
movsg:
	set_spr_limmed	0xdead,0xbeef,lcr
	set_gr_limmed	0,0,gr8
	movsg lcr,gr8
	test_gr_limmed	0xdead,0xbeef,gr8
	test_spr_limmed	0xdead,0xbeef,lcr

	pass
